package com.bua.toothfactory.config;

import java.io.File;

import android.os.Environment;

public class Setup {

	public static boolean isDemo = false;
	public static String sdPath = Environment.getExternalStorageDirectory()
			.getAbsolutePath() + "/ToothFactory";
	public static String getAppPath()
	{
		File file=new File(sdPath);
		if(! file.exists())
		{
			file.mkdirs();
		}
		
		return file.getAbsolutePath()+"/";
	}
	
	public static String getAppCachePath()
	{
		File file=new File(sdPath+"/Cache");
		if(! file.exists())
		{
			file.mkdirs();
		}
		
		return file.getAbsolutePath()+"/";
	}
}
